
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}

body {
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6;
    padding-bottom: 70px; /* 为底部导航留出空间 */
}

/* 顶部导航 - 使用更浅的渐变色 */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(135deg, #7d9ef7 0%, #5db0ff 100%);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.header .back-btn, .header .exit-btn {
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    font-size: 16px;
    padding: 8px 15px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.header .back-btn:hover, .header .exit-btn:hover {
    background: rgba(255,255,255,0.3);
}

.header .title {
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 1px;
}

/* 内容区域 */
.content {
    margin-top: 80px;
    padding: 0 20px 20px;
}

/* 项目列表 */
.project-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.project-card {
    background-color: white;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s;
    overflow: hidden;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

/* 项目状态样式 */
.project-card.past {
    background-color: #f8f9fa;
    color: #adb5bd;
}

.project-card.future {
    background: linear-gradient(135deg, #ffffff 0%, #f0f8ff 100%);
    border-left: 5px solid #4dabf7;
}

.project-card.today {
    background: linear-gradient(135deg, #ffffff 0%, #e3f2fd 100%);
    border-left: 5px solid #339af0;
}

.project-card.today::before {
    content: "\f521";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    top: -8px;
    right: 15px;
    font-size: 24px;
    color: #ffa94d;
    text-shadow: 0 2px 5px rgba(0,0,0,0.2);
    z-index: 2;
}

/*.project-card.today::after {*/
/*    content: "";*/
/*    position: absolute;*/
/*    top: 0;*/
/*    right: 0;*/
/*    width: 0;*/
/*    height: 0;*/
/*    border-style: solid;*/
/*    border-width: 0 50px 50px 0;*/
/*    border-color: transparent #ffa94d transparent transparent;*/
/*    z-index: 1;*/
/*}*/

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.project-name {
    font-size: 18px;
    font-weight: 600;
    color: #343a40;
    flex: 1;
}

.project-card.past .project-name {
    color: #adb5bd;
}

/* 日期和地点合并样式 */
.project-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 12px;
}

.project-date-location {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #495057;
}

.project-card.past .project-date-location {
    color: #adb5bd;
}

.date-location-icon {
    color: #868e96;
    width: 16px;
    text-align: center;
}

.project-card.past .date-location-icon {
    color: #adb5bd;
}

.project-description {
    font-size: 14px;
    color: #495057;
    line-height: 1.5;
}

.project-card.past .project-description {
    color: #adb5bd;
}

/* 底部导航 */
.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 70px;
    background-color: white;
    display: flex;
    justify-content: space-around;
    align-items: center;
    border-top: 1px solid #e9ecef;
    z-index: 100;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.05);
}

.footer-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px 0;
    color: #868e96;
    font-size: 12px;
    flex: 1;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-item.active {
    color: #339af0;
}

.footer-item:hover {
    color: #339af0;
}

.footer-icon {
    font-size: 20px;
    margin-bottom: 5px;
}

/* 日历菜单样式 */
.calendar-menu {
    position: relative;
}

.calendar-menu .footer-icon {
    font-size: 22px;
}

/* 响应式调整 */
@media (max-width: 360px) {
    .content {
        padding: 0 15px 15px;
    }

    .project-card {
        padding: 15px;
    }

    .project-name {
        font-size: 16px;
    }
}